<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="jt.classic.app.util.UserUtil"%>
<%
String context = jt.classic.system.ISystem.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>新增驾驶员</title>
</head>
<jsp:include page="../../head.jsp"></jsp:include>
<script>
   function checkit(){
     var rnt = true;
     if(isblank(document.form1.uname)){
        rnt = false;
        alert("请填写用户名称");
        document.form1.uname.focus();
     }else if(isblank(document.form1.logid)){
        rnt = false;
        alert("请填写用户登录ID");
        document.form1.logid.focus();
     }else if(!checkLogID(trimme(document.form1.logid))){
        rnt = false;
        alert("登录ID重复，请设定其它的登录ID");
        document.form1.logid.focus();
     }else if(isblank(document.form1.pwd)){
        rnt = false;
        alert("请设置用户密码");
        document.form1.pwd.focus();
     }else if(trimme(document.form1.pwd) != trimme(document.form1.pwd1)){
        rnt = false;
        alert("密码确认错误");
     } 
     
     return rnt;
   }
</script>
<script src="<%=context%>/app/clgl/jsy/js/myjs.js"></script>
<script src="<%=context%>/app/js/mycommon.js"></script>
<body>
<form id="form1" name="form1" method="post"
	action="<%=context%>/app/jsy.do?method=save"><input
	type="hidden" name="JSY_ID" value="">
<div align="left">	
<input type="button"
				class="button0" name="button0" value=" 保 存 "
				onclick="javascript:handleSubmit();" />
</div>	
<fieldset id="lanmu">
<legend>驾驶员登记</legend>
<table class="tab4edit" width="800" align="center">
	<tr>
		<td class="td1" width="150">&nbsp;单位</td>
		<td><label> <input name="jsy_dw" class=box3 " type="text"
			id="jsy_dw" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="151">&nbsp;姓名</td>
		<td><label> <input name="jsy_xm" class=box3 " type="text"
			id="jsy_xm" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="152">&nbsp;性别</td>
		<td><label> <input name="jsy_xb"
			" type="radio" id="jsy_xb" value="1" checked />男&nbsp <input
			name="jsy_xb" type="radio" id="jsy_xb" value="0" />女 </label></td>
	</tr>
	<tr>
		<td class="td1" width="153">&nbsp;出生年月</td>
		<td><label> <input name="jsy_csny" class=box3
			" type="text" id="jsy_csny" onclick="HS_setDate(this)" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="154">&nbsp;身份证号</td>
		<td><label> <input name="jsy_sfzh" class=box3
			" type="text" id="jsy_sfzh" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="155">&nbsp;驾驶证号</td>
		<td><label> <input name="jsy_jszh" class=box3
			" type="text" id="jsy_jszh" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="156">&nbsp;准驾车类</td>
		<td><label> <input name="jsy_zjcl" class=box3
			" type="text" id="jsy_zjcl" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="157">&nbsp;初领证日期</td>
		<td><label> <input name="jsy_clzrq" class=box3
			" type="text" id="jsy_clzrq" onclick="HS_setDate(this)" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="158">&nbsp;驾驶证有效年月</td>
		<td><label> <input name="jsy_jszyxny" class=box3
			" type="text" id="jsy_jszyxny" onclick="HS_setDate(this)" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="159">&nbsp;管理卡有效期</td>
		<td><label> <input name="jsy_glkyxq" class=box3
			" type="text" id="jsy_glkyxq" onclick="HS_setDate(this)" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="160">&nbsp;下次审验日期</td>
		<td><label> <input name="jsy_xcsyrq" class=box3
			" type="text" id="jsy_xcsyrq" onclick="HS_setDate(this)" /> </label></td>
	</tr>
	<tr>
		<td class="td1" width="161">&nbsp;家庭地址</td>
		<td><label> <input name="jsy_jtdz" class=box3
			" type="text" id="jsy_jtdz" /> </label></td>
	</tr>
</table>
</fieldset>	
</form>
</body>
</html>
